package com.mpsc.sharding.service.impl;

import com.mpsc.api.bean.UserInfoEntity;
import com.mpsc.sharding.dao.UserInfoDao;
import com.mpsc.sharding.service.UserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("userInfoService")
@Transactional
public class UserInfoServiceImpl implements UserInfoService {

    @Autowired
    private UserInfoDao userInfoDao;

    @Override
    public void saveUserInfo(UserInfoEntity userInfo) {
        userInfoDao.saveUserInfo(userInfo);
    }
}
